﻿@model List<FOModels.News.NewsModel>
@{
    int i = 1;    
}
@if (Model.Count > 0)
{
    <div class="reference_news">
        @foreach (var n in Model)
        {
            if (i == 1)
            {
            <span class="icon_tinlienquan"></span>
            <a class="Lead" href="@Url.Action("NewsDetail", "News", new { NewsTitle = FO.Models.Conver.ConvertToUnSign(n.NewsTitle.ToLower()), NewsID = n.NewsID })">@n.NewsTitle</a>
            <br />
            }
            else
            {
            <span class="icon_tinlienquan"></span>
            <a class="Lead" href="@Url.Action("NewsDetail", "News", new { NewsTitle = FO.Models.Conver.ConvertToUnSign(n.NewsTitle.ToLower()), NewsID = n.NewsID })">@n.NewsTitle</a>
            }

        }
    </div>
}